* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 90px; /* adjust if needed */
}

@font-face {
    font-family: Inter;
    src: url(../fonts/InterTight-VariableFont_wght.ttf);
}

@font-face {
    font-family: Zen Kurenaido;
    src: url(../fonts/ZenKurenaido-Regular.ttf);
}

@font-face {
    font-family: Coromant;
    src: url(../fonts/Cormorant-VariableFont_wght.ttf);
}

/*--- sage yoga ---*/
/* ---------------- Sage Yoga Editorial ---------------- */

.sage-project {
  color: #DE2720; /* soft sage / charcoal tone */
}



/* Wider intro for brand storytelling */
.editorial-intro.wide {
  max-width: 860px;
}


.editorial-hero-block {
  max-width: 600px;
  margin: 80px auto 120px;
  padding: 0 20px;
}

.editorial-hero-block video {
  width: 100%;
  height: auto;
  display: block;
}

/* Centered philosophy text */
.editorial-text.centered {
  max-width: 720px;
  margin: 0 auto 120px;
  padding: 0 20px;
  text-align: center;
  font-family: 'Cormorant';
  font-size: 19px;
  line-height: 1.7;
  font-weight: 300;
}

/* Phone-style video */
.editorial-video.phone video {
  max-width: 360px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Softer outro */
.sage-project .editorial-outro {
  max-width: 720px;
  opacity: 0.9;
}

.editorial-video.manual-play {
  position: relative;
  display: flex;
  justify-content: center; /* horizontal center */
  align-items: center;     /* vertical center */
  cursor: pointer;
  min-height: 200px;       /* optional: ensures some height for small videos */
}

.editorial-video.manual-play video {
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 8px; /* optional styling */
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* perfectly centers button */
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.editorial-video.is-playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}


@media (hover: hover) {
  .video-play-btn:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.65);
  }
}


/* -------- Editorial image rows -------- */

.editorial-image-row {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 20px;
  display: grid;
  gap: 24px;
}

.editorial-image-row.three-up {
  grid-template-columns: repeat(3, 1fr);
}

/* Treat videos like images */
.editorial-image-row img,
.editorial-image-row video {
  width: 100%;
  height: auto;
  display: block;
}

.editorial-image-row.two-up {
  grid-template-columns: repeat(2, 1fr);
}

.sage-project .editorial-image-row video {
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}



@media (hover: hover) {
  .editorial-image-row video:hover {
    opacity: 0.95;
  }
}

@media (max-width: 768px) {
  .editorial-image-row.three-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .editorial-image-row.two-up {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .editorial-video {
    margin: 80px 0;
  }

  .editorial-video.phone video {
    max-width: 280px;
  }
}


.site-header {
    position: fixed;  /* must be fixed for hide-on-scroll */
    top: 0;
    width: 100%;
    text-align: center;
    background-color: #F4ECE5;
    z-index: 1001;
    transition: transform 0.3s ease; /* smooth hide/show */
}

.site-header.header-hidden {
    transform: translateY(-100%); /* moves header completely out of view */
}

.site-title {
    font-family: 'Zen Kurenaido';
    font-size: 28px;
    font-weight: 400;
    padding: 20px 0 10px 0; /* much less top padding */
    margin: 0;
    color: #DE2720;
}

body {
    background-color: #F4ECE5;
    color: #DE2720;
    margin: 0;
    padding-top: 20px; /* space for title + nav */
    font-family: 'Coromant';
}

/* Center the nav and site-title */
nav {
    display: flex;
    align-items: center;  /* Vertically center the items */
    justify-content: center;  /* Center the nav and site title horizontally */
    width: 100%;
    padding: 10px 30px; /* Add some padding to the sides for breathing room */
}

.site-header nav {
    display: flex;
    align-items: center;  /* Vertically align the title and nav */
    justify-content: center;  /* Center everything horizontally */
    gap: 30px; /* Space between the site title and the navigation items */
}

ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Center the nav items horizontally */
    gap: 40px;
    margin: 0;
    padding: 0;
}

ul li a {
    font-family: 'Zen Kurenaido';
    font-size: 16px;
    font-weight: 400;
    color: #DE2720;
    text-decoration: none;
    padding: 10px 0;
    letter-spacing: 0.03em;
}

ul li a span {
    position: relative;
}

ul li a span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1.5px;
    background-color: #DE2720;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

ul li a:hover span::after {
    transform: scaleX(1);
}

/* Tablet and Mobile Styles */

/* Tablet view: 1024px and below */
@media (max-width: 1024px) {
    .site-header {
        padding-top: 10px; /* Adjust for smaller screens */
    }

    nav {
        padding: 10px 20px;  /* Reduce space on the sides */
        gap: 20px;  /* Add some spacing between the title and nav */
    }

    .site-title {
        font-size: 24px; /* Smaller title on tablets */
    }

    ul {
        gap: 30px; /* Less space between nav items */
    }

    ul li a {
        font-size: 14px; /* Smaller font for mobile */
    }
}

/* Mobile view: 768px and below */
@media (max-width: 768px) {
    nav {
        padding: 15px 15px;  /* Add padding for mobile */
        justify-content: center; /* Ensure title and nav items stay centered */
    }

    .site-title {
        font-size: 20px; /* Even smaller font size for mobile */
    }

    ul {
        gap: 20px; /* Less space between nav items */
    }

    ul li a {
        font-size: 14px; /* Smaller font size */
    }
}

.site-footer {
  width: 100%;
  background-color: #F4ECE5;
  padding: 40px 0;
}

.footer-inner {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center; /* vertical centering */
}

.footer-left p {
  font-family: 'Zen Kurenaido';
  font-size: 20px;
  font-weight: 400;
  color: #DE2720;
  margin: 0;
}

.footer-right {
  display: flex;
  gap: 30px;
}

.footer-right a {
  font-family: 'Zen Kurenaido';
  font-size: 14px;
  font-weight: 400;
  color: #DE2720;
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
}

/* underline hover, same language as nav */
.footer-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background-color: #DE2720;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.footer-right a:hover::after {
  transform: scaleX(1);
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .about-inner {
        flex-direction: column;
        gap: 30px;
    }

    .about-col {
        width: 100%;
    }

    .about-col p {
        font-size: 18px;
    }

    .projects-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }

      .skills-title {
    font-size: 20px;
  }

  .skill-tag {
    font-size: 13px;
    padding: 8px 18px;
  }
}
